import requests
resp_login=requests.get(url="http://hmshop-test.itheima.net/index.php?m=Home&c=User&a=verify&r=0.3563105756121827")
print(resp_login.cookies)
cookies=resp_login.cookies
import requests
resp=requests.post(url='http://hmshop-test.itheima.net/index.php?m=Home&c=User&a=do_login&t=0.7091528869436952',
                   headers={"Content-Type":"application/x-www-form-urlencoded"},data={"username": "13600001111",
                   "password":"11111111","verify_code": "8888"},cookies=cookies)
print(resp.json())

print(resp.url)
print(resp.status_code)
print(resp.cookies)
print(resp.headers)
print(resp.text)
print(resp.json())